#ifndef CONTENT_H
#define CONTENT_H

#include <QFrame>
#include <QPushButton>
#include <QStackedWidget>
#include "contact.h"
#include "baseinfo.h"
#include "detail.h"

class content : public QFrame
{
    Q_OBJECT

public:
    content(QWidget *parent = nullptr,Qt::WindowFlags f1=0);
    ~content();

    QPushButton *pushButtonAmend;
    QPushButton *pushButtonClose;
    QStackedWidget *stack;

private:
    BaseInfo *baseInfo;
    Contact  *contact;
    Detail   *detail;
};
#endif // CONTENT_H
